$OpenBSD: patch-stfl_pc_in,v 1.1.1.1 2012/12/30 17:59:36 ajacoutot Exp $
--- stfl.pc.in.orig	Sun Dec 30 10:31:46 2012
+++ stfl.pc.in	Sun Dec 30 10:31:59 2012
@@ -8,6 +8,6 @@ includedir=${prefix}/include
 Name: STFL
 Description: Structured Terminal Forms Language/Library
 Version: @VERSION@
-Libs: -L${libdir} -lstfl
+Libs: -Wl,-R${libdir} -L${libdir} -lstfl
 Libs.private: -lncursesw
 Cflags: -I${includedir}
